﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class DeathKnight
    {
        public bool unholyCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (unholyPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (unholyDungeonCombat())
                    return true;
            }
            else
            {
                if (unholyQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool unholyHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (unholyPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (unholyDungeonHeal())
                    return true;
            }
            else
            {
                if (unholyQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool unholyBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (unholyPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (unholyDungeonBuff())
                    return true;
            }
            else
            {
                if (unholyQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool unholyPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (unholyPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (unholyDungeonPullSpell())
                    return true;
            }
            else
            {
                if (unholyQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
